package com.bw.unit6

import android.app.Application
import com.alibaba.android.arouter.launcher.ARouter
import com.bw.unit6.db.DbUtil
import com.uuzuche.lib_zxing.activity.ZXingLibrary

/**
 *
 * @ClassName: App
 * @Description: java类作用描述
 * @Author: zhangyanchao
 * @CreateDate: 2024/9/21 12:14 PM
 * @Version: 1.0
 */
class App : Application() {
    override fun onCreate() {
        super.onCreate()
        //初始化数据库
        DbUtil.init(this)
        //初始化ARouter
        ARouter.init(this)

        ZXingLibrary.initDisplayOpinion(this)
    }
}